package com.example.ethereum.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "销毁请求")
@Data
public class BurnRequest {
    
    @ApiModelProperty(value = "合约地址", example = "0x1234567890abcdef...", required = true)
    private String contractAddress;
    
    @ApiModelProperty(value = "销毁地址（为空则销毁调用者自己的代币）", example = "0xabcdef1234567890...", required = false)
    private String fromAddress;
    
    @ApiModelProperty(value = "销毁数量", example = "100", required = true)
    private Long amount;
}

